package EjercicioParcial;

public class Vehiculos {
	double codigo;
	boolean activo;
	boolean parado;
	ComportamientoGPS oComp;
	
	public Vehiculos (double codigo){
		this.codigo = codigo;
		this.activo = true;
		this.parado = true;
		this.oComp = new SinGPS();  
	}
	
	public void cambiarComportamiento(ComportamientoGPS compGps){
		this.oComp = compGps;
	}
	
	public void desactivar(){
		this.activo = false;
	}
	
	public void avanzar(){}
}
